make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 14 Oct 2022 19:35:00 +0000 (20:35 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 14 Oct 2022 19:35:00 +0000 (20:35 +0100)
commita9098ac23e35b3ad9b21df7a1c9d5fce125756cb
treeabfe0e4a1163bacad4758a1a56d70717ca48edd7
parent42560903c5a219bd36e3ee15224531df9b5b559f
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c